package com.he.domain.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


import java.util.List;

/**
 * @author He
 * @version 1.0
 * @Date 2023/10/6 17:37
 * @Desc 逻辑删除
 */
@Data
@Schema(description = "逻辑删除")
public class DeleteDTO {

    /**
     * id列表
     */
    @NotNull(message = "id不能为空")
    @Schema(description = "id列表")
    private List<Integer> idList;

    /**
     * 是否删除 (0否 1是)
     */
    @NotNull(message = "状态值不能为空")
    @Schema(description = "是否删除 (0否 1是)")
    private Integer isDelete;
}
